<!DOCTYPE html>
<div id="element"></div>

<script src="../../resources/testharness.js"></script>
<script src="../../resources/testharnessreport.js"></script>
<script>
var verticalCursor = 'url("file:///a") 11 11, default';
var horizontalCursor = 'url("file:///b") 11 11, default';

test(function () {
  element.style.cursor = verticalCursor;
  assert_equals(element.style.cursor, verticalCursor);

  element.style.cursor = horizontalCursor;
  assert_equals(element.style.cursor, horizontalCursor);
}, "Check that the cursor updates even when the hotspot is the same");

</script>
